package net.htjs.mobile.nyoa.gw;

import net.htjs.mobile.nyoa.R;
import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Window;
import android.widget.TabHost;

public class GwViewActivity  extends TabActivity {
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE); 
		//setTitle("Tab测试");
		TabHost tabHost = getTabHost();
		LayoutInflater.from(this).inflate(R.layout.gwview,tabHost.getTabContentView(), true);
		tabHost.addTab(tabHost.newTabSpec("tab1").setIndicator("基本信息").setContent(new Intent(this, GwList.class)));
		tabHost.addTab(tabHost.newTabSpec("tab2").setIndicator("办理签").setContent(R.id.tab2));
		tabHost.addTab(tabHost.newTabSpec("tab3").setIndicator("办理轨迹").setContent(R.id.tab3));
	}
}
